<script>
	export default {
		onLaunch: function() {
			console.log('App Launch')
			const token= uni.getStorageSync("token");
			console.log('token',token)
			if(!token){
				uni.navigateTo({
					url:"/pages/login/login"
				})
			}
		},
		onShow: function() {
			console.log('App Show')
		},
		onHide: function() {
			console.log('App Hide')
		}
	}
</script>

<style>
	@import "@/static/iconfont.css";
	/*每个页面公共css */
	page{
		background-color: #f4f5f7;
	}
	.container{
		padding:34rpx;
		box-sizing: border-box;
	}
	.ellipsis{
		overflow: hidden;    
		text-overflow:ellipsis;    
		white-space: nowrap;
	}
</style>
